package store.lunangangster.engine.service;

import store.lunangangster.engine.impl.entity.History;
import store.lunangangster.engine.impl.query.HistoryQuery;

public interface HistoryService {

  HistoryQuery createHistoryQuery();

  void deleteHistory(String historyId);

  void deleteHistory(History history);

  void deleteHistoryByProcessInstanceId(String processInstanceId);

  void deleteHistoryByProcessInstanceId(History history);

  void deleteHistoryByProcessInstanceName(String processInstanceName);

  void deleteHistoryByProcessInstanceName(History history);

  void deleteHistoryByProcessDefinitionId(String processDefinitionId);

  void deleteHistoryByProcessDefinitionId(History history);

  void deleteHistoryByProcessDefinitionName(String processDefinitionName);

  void deleteHistoryByProcessDefinitionName(History history);

}
